package zozopo.comm;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Format {
	private String dateFormat = "yyyy-MM-dd HH:mm:ss";
	private SimpleDateFormat dateFomat   = 
		new SimpleDateFormat(dateFormat);
	
	public String dateFormat(Date date){
		return dateFomat.format(date);
	}
	
	public static void initial(){
		
	}

	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}
}
